package com.meilai.project.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author 张驰
 * @date 2020/9/14 14:39
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class TreeVO {
    private Long id;
    @JsonIgnore
    private Long pid;
    private String label;
    private String code;
    @JsonIgnore
    private Integer sort;
    private List<TreeVO> children;
    private Boolean disabled;
    private Boolean isLeaf;
    private Integer type;
    private String pids;
    private String cids;
}
